package com.hpf.springcloud.controller;

import com.hpf.springcloud.service.IMessageService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @description:
 * @datetime: 2020/10/25 14:15
 * @author: huangpengfei
 */
@RestController
public class SendMessageController {

    @Resource
    private IMessageService messageService;

    @GetMapping(value = "/sendMessage")
    public String sendMessage(){
        return messageService.send();
    }
}
